/*************************************************************************
> File Name: cin_cout.cpp
> Author: hzy
> Created Time: 2023-08-07 15:23:54
> Description: 输入输出练习
************************************************************************/
#include <iostream>

using namespace std;

int main()
{
    int a;
    int b;
    char buf[] = "hello ggbond";

//  cin >> a >> b;

    cout << "a = " << a << ", b = " << b << endl;
    cout << "&a = " << &a << ", &b = " << &b << endl;
    cout << buf << endl;
    cout << (int *)buf << endl;     //输出buf的地址
    cout << *buf << endl;           //输出buf首地址

    return 0;
}